package com.exam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.exam.entity.Consult;

/**
 * @Description:
 * @Company：
 * @Author:
 * @Date: 2022/4/29 21:48
 * @Version 1.0
 */
public interface ConsultService {
    Integer add(Consult consult);

    IPage<Consult> findAll(Page<Consult> teacherPage, Integer userId,String teachername,String userName);

    Consult findById(Integer id);

    Integer update(Consult consult);
}
